home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / lib / version.h < prev    next >
C/C++ Source or Header  |  1997-09-09  |  2KB  |  60 lines

  1.  
  2. /*
  3.  * $VER: lib/version.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  6.  */
  7.  
  8. #ifndef _LIB_VERSION_H
  9. #define _LIB_VERSION_H
  10.  
  11. #define DICE_VERSION "3"
  12.  
  13. #ifndef __COMMODORE_DATE__
  14. #define __COMMODORE_DATE__ __DATE__
  15. #endif
  16.  
  17. #define DCOPYRIGHT static char *DCopyright = "Copyright (c) 1992,1993,1994 Obvious Implementations Corp., Redistribution & Use under DICE-LICENSE.TXT."
  18.  
  19.  
  20. /*
  21.  * Messages if commercial, registerd, or neither.  Also set MINIDICE flag
  22.  * if neither.
  23.  */
  24.  
  25. #ifdef COMMERCIAL
  26. #define IDENT(file,subv)   static char *Ident = "$VER: " file " " DICE_VERSION subv "C (" __COMMODORE_DATE__ ")\n\r"
  27. #define VDISTRIBUTION " Commercial"
  28. #else
  29. #ifdef REGISTERED
  30. #define IDENT(file,subv)   static char *Ident = "$VER: " file " " DICE_VERSION subv "R (" __COMMODORE_DATE__ ")\n\r"
  31. #define VDISTRIBUTION " Registered"
  32. #else
  33. #define IDENT(file,subv)   static char *Ident = "$VER: " file " " DICE_VERSION subv "MINIDICE  (" __COMMODORE_DATE__ ")\n\r"
  34. #define VDISTRIBUTION " MiniDice"
  35. #define MINIDICE
  36. #endif
  37. #endif
  38.  
  39. #ifdef AMIGA
  40. #define DCC "dcc:"
  41. #define DCC_CONFIG "dcc_config:"
  42. #else
  43. #define DCC "/home/dice/"
  44. #define DCC_CONFIG DCC "config/"
  45. #endif
  46.  
  47. #ifdef INTELBYTEORDER
  48. extern unsigned long FromMsbOrder(unsigned long);
  49. extern unsigned long ToMsbOrder(unsigned long);
  50. extern unsigned long FromMsbOrderShort(unsigned long);
  51. extern unsigned long ToMsbOrderShort(unsigned long);
  52. #else
  53. #define FromMsbOrder(n)        (n)
  54. #define ToMsbOrder(n)        (n)
  55. #define FromMsbOrderShort(n)    (n)
  56. #define ToMsbOrderShort(n)    (n)
  57. #endif
  58.  
  59. #endif
  60.